package com.guyu.app.common.enums.error;

import com.guyu.app.common.enums.BizCodeEnum;
import com.guyu.common.core.exception.code.IErrorCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserErrorCodeEnum implements IErrorCode {
    USER_NOT_FOUND(10000, "用户不存在"),
    USER_IS_EXIST(10001, "用户已存在"),
    USER_STATUS_ERROR(10002, "用户状态异常"),
    USER_REMOVAL_ACCOUNT_ERROR(10003, "用户销户异常"),
    ;

    private final Integer code;
    private final String message;

    @Override
    public String getBizCode() {
        return BizCodeEnum.UA.name();
    }
}

